<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<title>考试辅助出题系统</title>
<link rel="stylesheet" href="../css/kgedit.css">
<link rel="stylesheet" href="../css/main.css">
<link href="../css/bootstrap.css" type="text/css" rel="stylesheet" media="all">
<script type="text/javascript" src="../lib/jquery/3.4.1/jquery.min.js"></script>
<script type="text/javascript" src="../lib/jquery-ui/1.9.1/jquery-ui.min.js"></script>
<script type="text/javascript" src="../lib/ajax/ajaxfileupload.js"></script>
<script type="text/javascript" src="../utility/utility.js"></script>
<script type="text/javascript" src="js/console.js"></script>
</head>
<body>
	<div class="middle" style="padding: 30px;">
		<span style="font-size: 30px;">Test Console</span>
		<button class="btn" onclick="reset()" style="float: right; border: 2px solid #0000DD">刷新模板</button>
		<button id="jumpButton" class="btn" onclick="toPage('./qatest.html')" style="float: right; border: 2px solid #000000">返回主页</button>
	</div>
	<div style="background-color: #459df5; height: 40px;">
		<span id="infoHead" style="margin-left: 50px; color: white; line-height: 40px"></span>
	</div>

	<div class="middle">
		<span id="infoout" style="color: red"></span>
	</div>
	<div style="background-color: #459df5; height: 2px;"></div>
	<div class="middle">
		<div>
			<div class="border">
				<span>Input</span>
				<div style="background-color: #000000; height: 1px;"></div>
				<br>
				<textarea id='textInput' style="height: 200px; width: 100%;" placeholder='输入原始文本'></textarea>
				<br>
			</div>
			<div class=" border">
				<span id="costoutput">Output</span>
				<div style="background-color: #000000; height: 1px;"></div>
				<br>
				<div style="text-align: left">
					<div style="margin:10px">
						&nbsp;<input id="cklog" type="checkbox">&nbsp;详细Log &nbsp;&nbsp;
						&nbsp;<input id="ckline" type="checkbox">&nbsp;Chat按行分句 &nbsp;&nbsp;
						<button onclick="chat()" style="margin-left: 10px; width: 80px">Chat</button>
					</div>
					<div style="margin:10px">
						&nbsp;旧四级ID&nbsp;&nbsp;<input id="l4id" style="width: 50px" onkeyup="value=value.replace(/[^\d]/g,'')"></input>
						<button onclick="checktag()" style="margin-left: 10px; width: 80px">五级分类</button>
						<button onclick="refreshtag()" style="margin-left: 10px; margin-right: 20px; width: 80px">刷新分类</button>
					</div>
					<div style="margin:10px">
						&nbsp;出题数量&nbsp;&nbsp;<input id="qaNum" value="3" style="width: 50px" onkeyup="value=value.replace(/[^\d]/g,'')"></input>
						<button onclick="checkseg()" style="margin-left: 10px; width: 80px">词频计算</button>
						<button onclick="checkkey()" style="margin-left: 10px; width: 120px">提取关键句+词</button>
						&nbsp;出题类型&nbsp;&nbsp;<input id="qaType" value="1" style="width: 50px" onkeyup="value=value.replace(/[^\d]/g,'')"></input>
						<button onclick="checkparse()" style="margin-left: 10px; width: 80px">出题</button>
					</div>
				</div>
				<br>
				<PRE id="simpleoutput" style="height: 150px; width: 100%; text-align: left; white-space: pre-wrap"></PRE>
			</div>
		</div>
	</div>
</body>